package com.nuoniu.sibanyun.entity.project;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDate;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 白强
 * @since 2021-08-31
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("dev_project")
@ApiModel(value="DevProject对象", description="")
public class DevProject extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "项目名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "项目编码")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "版本号")
    @TableField("version")
    private String version;

    @ApiModelProperty(value = "项目开始时间")
    @TableField("start_date")
    private LocalDate startDate;

    @ApiModelProperty(value = "项目结束时间")
    @TableField("end_date")
    private LocalDate endDate;

    @ApiModelProperty(value = "负责人ID")
    @TableField("lead_user_id")
    private Integer leadUserId;

    @ApiModelProperty(value = "负责人姓名")
    @TableField("lead_user_name")
    private String leadUserName;

    @ApiModelProperty(value = "创建人id")
    @TableField("create_user_id")
    private Integer createUserId;

    @ApiModelProperty(value = "创建人")
    @TableField("create_user_name")
    private String createUserName;

    @ApiModelProperty(value = "创建日期")
    @TableField("create_date")
    private LocalDateTime createDate;

    @ApiModelProperty(value = "项目描述")
    @TableField("remark")
    private String remark;


}
